package com.wyl.template.constant;

/**
 * @Auther: wyl
 * @Date: 2021/4/29
 * @Description:
 */
public class AppConstants {

    /**
     * 日志跟踪id
     */
    public static final String TRACE_ID = "traceId";

    /**
     * 系统名称
     */
    public static final String APP_NAME = "manager";

    /**
     * 是
     */
    public static final Short TRUE = 1;

    /**
     * 否
     */
    public static final Short FALSE = 0;

    /**
     * JSESSIONID
     */
    public static final String DEFAULT_SESSION_ID_NAME = "BASE_TEMPLATE";

    /**
     * 账号默认密码
     */
    public static final String DEFAULT_USER_PWD = "HRisk@2021";

    /**
     * 默认散列算法
     */
    public static final String DEFAULT_HASH_NAME = "md5";

    /**
     * 默认散列次数 2
     */
    public static final int DEFAULT_HASH_TIMES = 1<<1;

    /**
     * 默认密码salt长度 8
     */
    public static final int DEFAULT_SALT_LENGTH = 1<<3;
}
